{   "PrintTemplate":true,
    "ip": "<%=ip%>",
    "port": <%=port%>,
    "dir": "<%=dir%>",
    "padding": 1,
    "FontSize": <%=parseInt(20*pxt)%>,
    "width": <%=parseInt(372*pxt)%>,
    "font": "arial_unicode_ms.ttf",
    "border": 0,
    "showdialog": true,
    "align": 1,
    "vertical": 2,
    "items": [
        { 
            "height":<%=parseInt(120*pxt)%>,
            "items": [
                { 
                    "align": 2,
                    "FontSize": <%=parseInt(40*pxt)%>,
                    "padding": 2,
                    "text": "<%=getvalue(name,language)%>"
                }
            ]
        },
        { 
            "height": <%=parseInt(40*pxt)%>,
            "items": [
                {
                    "width": "40%",
                    "align": <%=dir=='rtl'?3:1%>,
                    "text":  "<%=getvalue('@printer_name',language)%>"
                },
                {
                    "width": "60%",
                    "text":  "<%=getvalue(printer_name,language)%>"  
                }
            ]
        },
        { 
            "height": <%=parseInt(40*pxt)%>,
            "items": [
                {
                    "width": "40%",
                    "align": <%=dir=='rtl'?3:1%>,
                    "text": "<%=getvalue('@printer_ip',language)%>"
                },
                {
                    "width": "60%",
                    "text": "<%=ip%>"
                }
            ]
        },
        { 
            "height": <%=parseInt(40*pxt)%>,
            "items": [
                {
                    "width": "40%",
                    "align": <%=dir=='rtl'?3:1%>,
                    "text":  "<%=getvalue('@printer_port',language)%>"
                },
                {
                    "width": "60%",
                    "text": "<%=port%>"
                }
            ]
        },
        { 
            "height": <%=parseInt(40*pxt)%>,
            "items": [
                { 
                    "align": 2,
                    "text": "------------------------"
                } 
            ]
        }
    ]
}